home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Developer CD Series 1995 February: Tool Chest
/
Dev.CD Feb 95
/
Dev.CD Feb 95.toast
/
Sample Code
/
Newton Sample Code 1.2
/
Views
/
Paragraph Scroll-2
/
README.Paragraph Scroll
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-02-28
|
384 b
|
8 lines
|
[
TEXT/R*ch
]
ParagraphScroll, by Todd Courtois
Copyright (c) 1993-1994, Apple Computer, Inc. All rights reserved.
ParagraphScroll shows one way to scroll a clParagraphView. Creates the
view, stuffs it full of text, then changes the viewOrigin of the parent
repeatedly. Note that the height of the clParagraphView is determined
by the length of the text because the vCalculateBounds bit is set.